#include <reg52.h>
#define uint unsigned int
sbit led1 = P1^0;
void delayms(uint i)
{
   uint i,j;
	for(i=xms;i>0;i--)
	 for(j=110;j>0;j--);
}
void main()
{
	while(1)
	{
    led1=0;
    delayms(200);
    led1=1;
    delayms(800);
  }
}